package com.lfz.sso.pojo;

import com.lfz.common.pojo.BasePOJO;

import javax.persistence.Id;
import javax.persistence.Table;


@Table(name = "tb_user")
public class User extends BasePOJO{
	@Id
	private String id;
	
	private String mobilePhone;
	
	private String userName;
	
	private String nickname;
	
	private String password;
	
	/**
	 * 个性签名
	 */
	private String signature;
	
	private Integer gender;
	
	private String qq;

	private String weixin;

	private String email;
	
	private String avatar;
	
	private String province;
	
	private String city;
	
	/**
	 * 注册时IP地址
	 */
	private String regIp;
	
	private Integer score;
	
	private Integer status;


	public String getWeixin() {
		return weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getId() {
		return id;
	}



	public void setId(String id) {
		this.id = id;
	}



	public String getMobilePhone() {
		return mobilePhone;
	}



	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}



	public String getUserName() {
		return userName;
	}



	public void setUserName(String userName) {
		this.userName = userName;
	}



	public String getNickname() {
		return nickname;
	}



	public void setNickname(String nkckname) {
		this.nickname = nickname;
	}



	public String getPassword() {
		return password;
	}



	public void setPassword(String password) {
		this.password = password;
	}



	public String getSignature() {
		return signature;
	}



	public void setSignature(String signature) {
		this.signature = signature;
	}



	public Integer getGender() {
		return gender;
	}



	public void setGender(Integer gender) {
		this.gender = gender;
	}



	public String getQq() {
		return qq;
	}



	public void setQq(String qq) {
		this.qq = qq;
	}



	public String getEmail() {
		return email;
	}



	public void setEmail(String email) {
		this.email = email;
	}



	public String getAvatar() {
		return avatar;
	}



	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}



	public String getProvince() {
		return province;
	}



	public void setProvince(String province) {
		this.province = province;
	}



	public String getCity() {
		return city;
	}



	public void setCity(String city) {
		this.city = city;
	}



	public String getRegIp() {
		return regIp;
	}



	public void setRegIp(String regIp) {
		this.regIp = regIp;
	}



	public Integer getScore() {
		return score;
	}



	public void setScore(Integer score) {
		this.score = score;
	}



	public Integer getStatus() {
		return status;
	}



	public void setStatus(Integer status) {
		this.status = status;
	}


	@Override
	public String toString() {
		super.toString();
		return "User{" +
				"id='" + id + '\'' +
				", mobilePhone='" + mobilePhone + '\'' +
				", userName='" + userName + '\'' +
				", nkckname='" + nickname + '\'' +
				", password='" + password + '\'' +
				", signature='" + signature + '\'' +
				", gender=" + gender +
				", qq='" + qq + '\'' +
				", weixin='" + weixin + '\'' +
				", email='" + email + '\'' +
				", avatar='" + avatar + '\'' +
				", province='" + province + '\'' +
				", city='" + city + '\'' +
				", regIp='" + regIp + '\'' +
				", score=" + score +
				", status=" + status +
				'}';
	}
}

